<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center helpCente_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub helpCente_fd0_0'>
					<view class='flex flex-wrap align-center helpCente_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  helpCente_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='helpCente_fd0_0_c1_c0'>问题详情</text>
					</view>
					<view class='flex flex-wrap align-center justify-end helpCente_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<view class="loading_css" v-if="isShow">
				<u-loading size="36" color="#F35D2A"></u-loading>
				<view>加载中</view>
			</view>

			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout helpCente_flex_1">
				<view class='helpCente_fd1_0'>
					<view class='helpCente_fd1_0_c0'>
						{{detailsInfo.title}}</view>
					<view class="helpCente_fd1_0_c1">
						<u-parse :html="detailsInfo.content"></u-parse>
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<view class="flex flex-wrap align-center justify-center benben-position-layout flex helpCente_flex_2">
				<view class='flex flex-wrap align-center justify-center helpCente_fd2_0' @tap.stop="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/xitongs/feedBack/feedBack`">
					<text class='helpCente_fd2_0_c1'>意见反馈</text>
				</view>

			</view>
			<view :style="{height: '128rpx'}"></view>


		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"list": [],
				"page": 1,
				"is_pull": true,
				"last_page": 1,
				"status": 'loadmore',
				"iconType": 'flower',
				"loadText": {
					loadmore: '轻轻上拉',
					loading: '努力加载中',
					nomore: '我也是有底线的'
				},
				"isShow": true,
				"id": "",
				"detailsInfo": {}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				id
			} = options;
			if (id !== undefined) this.id = id;
			this.getData();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		// 下拉刷新
		onPullDownRefresh() {

		},
		// 上拉加载
		onReachBottom() {

		},
		onPageScroll(e) {

		},
		methods: {
			// 帮助中心详情  64feab7b052d8
			getData() {
				this.$api.post(global.API_VERSION + '64feab7b052d8', {
					article_id: this.id
				}).then(res => {
					// console.log(res);
					this.isShow = false;
					if (res.data.code == 1) {
						this.detailsInfo = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			}
		}
	};
</script>
<style lang="scss" scoped>
	.right_icon {
		width: 14rpx;
		height: 26rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: 100vh;
		background-size: 100% auto;
		background-color: #f8f8f8;
	}

	.helpCente_flex_0 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
		background: #FFFFFF;
	}

	.helpCente_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
		line-height: 88rpx;
	}

	.helpCente_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.helpCente_fd0_0_c0 {
		width: 120rpx;
	}

	.helpCente_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.helpCente_flex_1 {
		padding: 32rpx 24rpx 32rpx 24rpx;
		// width: 690rpx;
	}

	.helpCente_fd1_0_c1 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 48rpx;
	}

	.helpCente_fd1_0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
		margin-bottom: 16rpx;
	}

	.helpCente_fd1_0 {
		justify-content: space-between;
		align-items: center;
	}

	.helpCente_flex_2 {
		width: 750rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(48rpx + var(--window-bottom));
	}

	.helpCente_fd2_0_c1 {
		color: #333;
		font-size: 32rpx;
		font-weight: 500;
	}

	.helpCente_fd2_0_c0 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 18rpx 0rpx 0rpx;
	}

	.helpCente_fd2_0 {
		background: #FFFFFF;
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		width: 638rpx;
		height: 88rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}
</style>